Skip to content

add default opens for jdk17#466

Open
pang-wu wants to merge 1 commit intoray-project:masterfrom
pang-wu:pang/jdk17d
Open

add default opens for jdk17#466
pang-wu wants to merge 1 commit intoray-project:masterfrom
pang-wu:pang/jdk17d

Conversation

@pang-wu
Copy link
Copy Markdown
Collaborator

@pang-wu pang-wu commented Mar 2, 2026

No description provided.

Copy link
Copy Markdown
Collaborator

@carsonwang carsonwang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is good idea to add these default options. Could you update some tests to use them? Once this is merged, will be good to have a follow up to cleanup manually added JDK17 options in examples.

"If used with autoscaling, calculate it from max_workers.",
file=sys.stderr)

# On JDK 17+, inject --add-opens flags for driver and app master when
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we also cover executor?

return _cached_java_version
try:
out = subprocess.check_output(
["java", "-version"], stderr=subprocess.STDOUT, timeout=10
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Check JAVA_HOME first?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants